[INFO] cloning repository https://github.com/Brayan-724/hot-reload-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Brayan-724/hot-reload-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrayan-724%2Fhot-reload-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrayan-724%2Fhot-reload-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e7eca89928b0c2b32af69d5f03d405580948c579
[INFO] fixing Brayan-724/hot-reload-rs against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrayan-724%2Fhot-reload-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Brayan-724/hot-reload-rs
[INFO] finished tweaking git repo https://github.com/Brayan-724/hot-reload-rs
[INFO] tweaked toml for git repo https://github.com/Brayan-724/hot-reload-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Brayan-724/hot-reload-rs on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Brayan-724/hot-reload-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d5b13ef032637a10e899dfd1a611f3a28620bc557407f323c843d51a51fbe7b1
[INFO] running `Command { std: "docker" "start" "d5b13ef032637a10e899dfd1a611f3a28620bc557407f323c843d51a51fbe7b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d5b13ef032637a10e899dfd1a611f3a28620bc557407f323c843d51a51fbe7b1" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d5b13ef032637a10e899dfd1a611f3a28620bc557407f323c843d51a51fbe7b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d5b13ef032637a10e899dfd1a611f3a28620bc557407f323c843d51a51fbe7b1" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating example/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling rustversion v1.0.15
[INFO] [stderr]     Checking zerocopy v0.7.33
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking libloading v0.8.3
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]     Checking either v1.11.0
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling indoc v2.0.5
[INFO] [stderr]     Checking unicode-width v0.1.12
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking castaway v0.2.2
[INFO] [stderr]     Checking signal-hook v0.3.17
[INFO] [stderr]     Checking compact_str v0.7.1
[INFO] [stderr]     Checking lru v0.12.3
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking cargo-hot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]     Checking parking_lot v0.12.2
[INFO] [stderr]     Checking signal-hook-mio v0.2.3
[INFO] [stderr]     Checking crossterm v0.27.0
[INFO] [stderr]        Fixed src/mpmc/list.rs (3 fixes)
[INFO] [stderr]        Fixed src/main_lib.rs (2 fixes)
[INFO] [stderr]        Fixed src/watcher/utils.rs (1 fix)
[INFO] [stderr]        Fixed src/mpmc/mod.rs (3 fixes)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/watcher/utils.rs:86:19
[INFO] [stdout]    |
[INFO] [stdout] 86 |             match self.current.next().and_then(|f| f.ok()) { Some(entry) => {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        -----
[INFO] [stdout]    |                   |                                               |
[INFO] [stdout]    |                   |                                               `entry` calls a custom destructor
[INFO] [stdout]    |                   |                                               `entry` will be dropped later as of Edition 2024
[INFO] [stdout]    |                   this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]    |                   up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 93 |                 let dir = self.stack.pop()?;
[INFO] [stdout]    |                     ---   -----------------
[INFO] [stdout]    |                     |     |
[INFO] [stdout]    |                     |     this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |                     |     `#1` will be dropped later as of Edition 2024
[INFO] [stdout]    |                     `dir` calls a custom destructor
[INFO] [stdout]    |                     `dir` will be dropped later as of Edition 2024
[INFO] [stdout] 94 |                 self.current = fs::read_dir(dir.path()).ok()?;
[INFO] [stdout]    |                                ------------------------------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]    |                                `#2` will be dropped later as of Edition 2024
[INFO] [stdout] 95 |             }}
[INFO] [stdout] 96 |         }
[INFO] [stdout]    |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `entry` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `dir` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/thread.rs (2 fixes)
[INFO] [stderr]        Fixed src/mpmc/array.rs (3 fixes)
[INFO] [stderr]        Fixed src/mpmc/counter.rs (2 fixes)
[INFO] [stderr]        Fixed src/mpmc/zero.rs (2 fixes)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/watcher/utils.rs:86:19
[INFO] [stdout]    |
[INFO] [stdout] 86 |             match self.current.next().and_then(|f| f.ok()) { Some(entry) => {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        -----
[INFO] [stdout]    |                   |                                               |
[INFO] [stdout]    |                   |                                               `entry` calls a custom destructor
[INFO] [stdout]    |                   |                                               `entry` will be dropped later as of Edition 2024
[INFO] [stdout]    |                   this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]    |                   up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 93 |                 let dir = self.stack.pop()?;
[INFO] [stdout]    |                     ---   -----------------
[INFO] [stdout]    |                     |     |
[INFO] [stdout]    |                     |     this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |                     |     `#1` will be dropped later as of Edition 2024
[INFO] [stdout]    |                     `dir` calls a custom destructor
[INFO] [stdout]    |                     `dir` will be dropped later as of Edition 2024
[INFO] [stdout] 94 |                 self.current = fs::read_dir(dir.path()).ok()?;
[INFO] [stdout]    |                                ------------------------------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]    |                                `#2` will be dropped later as of Edition 2024
[INFO] [stdout] 95 |             }}
[INFO] [stdout] 96 |         }
[INFO] [stdout]    |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `entry` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `dir` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling strum_macros v0.26.2
[INFO] [stderr]    Compiling stability v0.2.0
[INFO] [stderr]     Checking strum v0.26.2
[INFO] [stderr]     Checking ratatui v0.26.2
[INFO] [stderr]     Checking example v0.1.0 (/opt/rustwide/workdir/example)
[INFO] [stderr]    Migrating example/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating example/src/main.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.86s
[INFO] [stderr] crater-edition-check: example v0.1.0 (/opt/rustwide/workdir/example) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: cargo-hot v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking cargo-hot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `StateWrapper` is never constructed
[INFO] [stdout]   --> src/main_lib.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct StateWrapper(Box<dyn Any + Send + 'static>);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StateWrapper` is never constructed
[INFO] [stdout]   --> src/main_lib.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct StateWrapper(Box<dyn Any + Send + 'static>);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking example v0.1.0 (/opt/rustwide/workdir/example)
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | /     loop {
[INFO] [stdout] 18 | |         unsafe {
[INFO] [stdout] 19 | |             let main = lib
[INFO] [stdout] 20 | |                 .get::<unsafe fn(*mut u32) -> *mut u32>(b"hot_main")
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 28 |
[INFO] [stdout] 29 | /     unsafe {
[INFO] [stdout] 30 | |         let drop_ = lib
[INFO] [stdout] 31 | |             .get::<unsafe fn(*mut u32)>(b"hot_drop")
[INFO] [stdout] 32 | |             .expect("Should have 'hot_main' function public");
[INFO] [stdout] 33 | |         let drop_ = drop_(state);
[INFO] [stdout] 34 | |         println!("{drop_:#?}");
[INFO] [stdout] 35 | |     }
[INFO] [stdout]    | |_____^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> example/src/lib.rs:110:1
[INFO] [stdout]     |
[INFO] [stdout] 110 | / hot_lib! {
[INFO] [stdout] 111 | |     State;
[INFO] [stdout] 112 | |     init => lib_init;
[INFO] [stdout] 113 | |     main => lib_main;
[INFO] [stdout] 114 | |     post_main => lib_post_main;
[INFO] [stdout] 115 | |     drop => lib_drop;
[INFO] [stdout] 116 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `hot_lib` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    --> src/lib.rs:20:11
[INFO] [stdout]     |
[INFO] [stdout]  20 |         #[unsafe(no_mangle)]
[INFO] [stdout]     |           +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> example/src/lib.rs:110:1
[INFO] [stdout]     |
[INFO] [stdout] 110 | / hot_lib! {
[INFO] [stdout] 111 | |     State;
[INFO] [stdout] 112 | |     init => lib_init;
[INFO] [stdout] 113 | |     main => lib_main;
[INFO] [stdout] 114 | |     post_main => lib_post_main;
[INFO] [stdout] 115 | |     drop => lib_drop;
[INFO] [stdout] 116 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `hot_lib` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    --> src/lib.rs:25:11
[INFO] [stdout]     |
[INFO] [stdout]  25 |         #[unsafe(no_mangle)]
[INFO] [stdout]     |           +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> example/src/lib.rs:110:1
[INFO] [stdout]     |
[INFO] [stdout] 110 | / hot_lib! {
[INFO] [stdout] 111 | |     State;
[INFO] [stdout] 112 | |     init => lib_init;
[INFO] [stdout] 113 | |     main => lib_main;
[INFO] [stdout] 114 | |     post_main => lib_post_main;
[INFO] [stdout] 115 | |     drop => lib_drop;
[INFO] [stdout] 116 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `hot_lib` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    --> src/lib.rs:33:11
[INFO] [stdout]     |
[INFO] [stdout]  33 |         #[unsafe(no_mangle)]
[INFO] [stdout]     |           +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> example/src/lib.rs:110:1
[INFO] [stdout]     |
[INFO] [stdout] 110 | / hot_lib! {
[INFO] [stdout] 111 | |     State;
[INFO] [stdout] 112 | |     init => lib_init;
[INFO] [stdout] 113 | |     main => lib_main;
[INFO] [stdout] 114 | |     post_main => lib_post_main;
[INFO] [stdout] 115 | |     drop => lib_drop;
[INFO] [stdout] 116 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `hot_lib` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    --> src/lib.rs:45:11
[INFO] [stdout]     |
[INFO] [stdout]  45 |         #[unsafe(no_mangle)]
[INFO] [stdout]     |           +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> example/src/lib.rs:110:1
[INFO] [stdout]     |
[INFO] [stdout] 110 | / hot_lib! {
[INFO] [stdout] 111 | |     State;
[INFO] [stdout] 112 | |     init => lib_init;
[INFO] [stdout] 113 | |     main => lib_main;
[INFO] [stdout] 114 | |     post_main => lib_post_main;
[INFO] [stdout] 115 | |     drop => lib_drop;
[INFO] [stdout] 116 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `hot_lib` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    --> src/lib.rs:58:11
[INFO] [stdout]     |
[INFO] [stdout]  58 |         #[unsafe(no_mangle)]
[INFO] [stdout]     |           +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> example/src/lib.rs:110:1
[INFO] [stdout]     |
[INFO] [stdout] 110 | / hot_lib! {
[INFO] [stdout] 111 | |     State;
[INFO] [stdout] 112 | |     init => lib_init;
[INFO] [stdout] 113 | |     main => lib_main;
[INFO] [stdout] 114 | |     post_main => lib_post_main;
[INFO] [stdout] 115 | |     drop => lib_drop;
[INFO] [stdout] 116 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `hot_lib` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    --> src/lib.rs:20:11
[INFO] [stdout]     |
[INFO] [stdout]  20 |         #[unsafe(no_mangle)]
[INFO] [stdout]     |           +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | /     loop {
[INFO] [stdout] 18 | |         unsafe {
[INFO] [stdout] 19 | |             let main = lib
[INFO] [stdout] 20 | |                 .get::<unsafe fn(*mut u32) -> *mut u32>(b"hot_main")
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 28 |
[INFO] [stdout] 29 | /     unsafe {
[INFO] [stdout] 30 | |         let drop_ = lib
[INFO] [stdout] 31 | |             .get::<unsafe fn(*mut u32)>(b"hot_drop")
[INFO] [stdout] 32 | |             .expect("Should have 'hot_main' function public");
[INFO] [stdout] 33 | |         let drop_ = drop_(state);
[INFO] [stdout] 34 | |         println!("{drop_:#?}");
[INFO] [stdout] 35 | |     }
[INFO] [stdout]    | |_____^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> example/src/lib.rs:110:1
[INFO] [stdout]     |
[INFO] [stdout] 110 | / hot_lib! {
[INFO] [stdout] 111 | |     State;
[INFO] [stdout] 112 | |     init => lib_init;
[INFO] [stdout] 113 | |     main => lib_main;
[INFO] [stdout] 114 | |     post_main => lib_post_main;
[INFO] [stdout] 115 | |     drop => lib_drop;
[INFO] [stdout] 116 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `hot_lib` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    --> src/lib.rs:25:11
[INFO] [stdout]     |
[INFO] [stdout]  25 |         #[unsafe(no_mangle)]
[INFO] [stdout]     |           +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> example/src/lib.rs:110:1
[INFO] [stdout]     |
[INFO] [stdout] 110 | / hot_lib! {
[INFO] [stdout] 111 | |     State;
[INFO] [stdout] 112 | |     init => lib_init;
[INFO] [stdout] 113 | |     main => lib_main;
[INFO] [stdout] 114 | |     post_main => lib_post_main;
[INFO] [stdout] 115 | |     drop => lib_drop;
[INFO] [stdout] 116 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `hot_lib` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    --> src/lib.rs:33:11
[INFO] [stdout]     |
[INFO] [stdout]  33 |         #[unsafe(no_mangle)]
[INFO] [stdout]     |           +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> example/src/lib.rs:110:1
[INFO] [stdout]     |
[INFO] [stdout] 110 | / hot_lib! {
[INFO] [stdout] 111 | |     State;
[INFO] [stdout] 112 | |     init => lib_init;
[INFO] [stdout] 113 | |     main => lib_main;
[INFO] [stdout] 114 | |     post_main => lib_post_main;
[INFO] [stdout] 115 | |     drop => lib_drop;
[INFO] [stdout] 116 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `hot_lib` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    --> src/lib.rs:45:11
[INFO] [stdout]     |
[INFO] [stdout]  45 |         #[unsafe(no_mangle)]
[INFO] [stdout]     |           +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> example/src/lib.rs:110:1
[INFO] [stdout]     |
[INFO] [stdout] 110 | / hot_lib! {
[INFO] [stdout] 111 | |     State;
[INFO] [stdout] 112 | |     init => lib_init;
[INFO] [stdout] 113 | |     main => lib_main;
[INFO] [stdout] 114 | |     post_main => lib_post_main;
[INFO] [stdout] 115 | |     drop => lib_drop;
[INFO] [stdout] 116 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `hot_lib` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    --> src/lib.rs:58:11
[INFO] [stdout]     |
[INFO] [stdout]  58 |         #[unsafe(no_mangle)]
[INFO] [stdout]     |           +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `example` (lib test) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `example` (lib) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "d5b13ef032637a10e899dfd1a611f3a28620bc557407f323c843d51a51fbe7b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5b13ef032637a10e899dfd1a611f3a28620bc557407f323c843d51a51fbe7b1", kill_on_drop: false }`
[INFO] [stdout] d5b13ef032637a10e899dfd1a611f3a28620bc557407f323c843d51a51fbe7b1
